<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"/>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
        <meta name="format-detection" content="telephone=no"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE/">
        <meta name="viewport" content="width=device-width, initial-scale=1"/>
        <title>WiCity.vn</title>
        <style type="text/css">
            *{
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            .center{
                width: 100px;
                height: 100px;
                position: absolute;
                top: 0px;
                left: 0px;
                right: 0px;
                bottom: 0px;
                margin: auto;
                font-family: Aria,Tahoma;
                color: #222;
            }
            .center a{
                display: block;
                background: url('logo.jpg') no-repeat;
                width: 100px;
                height: 21px;
                background-size: 100%;
            }
            .center span{
                display: block;
                width: 39px;
                height: 39px;
                background: url('wifi.gif') no-repeat;
                background-size: 100%;
                margin-left: 12px;
                margin-bottom: -3px;
            }
			
			.label{
				text-align: center;
				width: 234px;
				position: absolute;
				left: -68px;
				right: -66px;
				bottom: -39px;
			}
        </style>
        <script type="text/javascript" language="Javascript">
            function getURLParam(n) {
                var s = "";
                var href = window.location.href;
                var idx = href.indexOf("?");
                if (idx > -1) {
                    var qs = href.substr(idx + 1);
                    idx = qs.indexOf(n + "=");
                    if (idx > -1) {
                        s = qs.substr(idx + n.length + 1);
                        if (s.charAt(4) == '%' || s.charAt(5) == '%') {
                            s = s.replace(/%3a/g, ":");
                            s = s.replace(/%2f/g, "/");
                            s = s.replace(/%3f/g, "?");
                            s = s.replace(/%3d/g, "=");
                            s = s.replace(/%26/g, "&");
                            s = s.replace(/%25/g, "%");
                            s = s.replace(/\+/g, " ");
                        }
                        return s;
                    }
                }
            }

            var loginUrl;
            function redirect() {
                loginUrl = getURLParam("loginurl").replace("/rapchieuphim", "/rapchieuphim/thongke/captive/");
                //alert(loginUrl);
                window.location = loginUrl;
                return false;
            }

            setTimeout(redirect, 1500);

        </script>
        <script>window["_GOOG_TRANS_EXT_VER"] = "1";</script>
    </head>
    <body>
        <div class="center">
            <span></span>
            <a></a>
			
			<div class="label">Đang kết nối wifi<br/> Xin vui lòng chờ trong giây lát !</div>
        </div>
    </body>
</html>